package me.zhengjie.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wcs_chain_line_config")
public class WcsChainLineConfig {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("unit_id")
    private Integer unitId;

    //第一段地址位
    @TableField("one_address")
    private Integer oneAddress;

    //第二段地址位
    @TableField("two_address")
    private Integer twoAddress;

    //第三段地址位
    @TableField("three_address")
    private Integer threeAddress;

    //第一段读码信息地址位
    @TableField("one_code_information")
    private Integer oneCodeInformation;

    //第二段读码信息地址位
    @TableField("two_code_information")
    private Integer twoCodeInformation;

    //第三段读码信息地址位
    @TableField("three_code_information")
    private Integer threeCodeInformation;

    //长度地址位
    @TableField("length")
    private Integer length;

    //宽度地址位
    @TableField("wide")
    private Integer wide;

    //高度地址位
    @TableField("tall")
    private Integer tall;

    //tcp搬运地址位
    @TableField("tcp_transport")
    private Integer tcpTransport;

    //第一段返回结果地址位
    @TableField("one_return_result")
    private Integer oneReturnResult;

    //第二段返回长宽高结果地址位
    @TableField("two_return_result")
    private Integer twoReturnResult;

    //第三段返回搬运结果地址位
    @TableField("three_return_result")
    private Integer threeReturnResult;

    //第三段AGV搬运储位
    @TableField("transport_storage")
    private String transportStorage;

    @TableField("one_write_plc")
    private Integer oneWritePlc;

    @TableField("two_write_plc")
    private Integer twoWritePlc;

    @TableField("eqpt_code")
    private String eqptCode;

//    @TableField("threes_return")
//    private Integer threesReturn;
}
